import fly from '../utils/request'
/**
 * 项目列表
 **/
export function projectList(data = {}) {
  return fly.request('api/fi/project/page', data, {
    method: 'GET'
  })
}
export function maintainTreeList(data = {}) {
  return fly.request('/api/store/maintain_tree', data, {
    method: 'GET'
  })
}

export function projectDetail(data = {}) {
  return fly.request('api/fi/project/get', data, {
    method: 'GET'
  })
}
//获取项目中相关数据
export function getProjectType(data = {}) {
  return fly.request('api/fi/coreTask/list', data, {
    method: 'GET'
  })
}

export function addFeedback(data = {}) {
  return fly.request('/api/project/add_feedback', data, {
    method: 'POST'
  })
}

export function feedbackList(data = {}) {
  return fly.request('api/fi/coreTask/page', data, {
    method: 'GET'
  })
}
